[INFO] cloning repository https://github.com/surma/containix
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/surma/containix" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsurma%2Fcontainix", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsurma%2Fcontainix'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 17d749e4fb4c0992c6dd99eadd3bb1c19ce59657
[INFO] fixing surma/containix against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsurma%2Fcontainix" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/surma/containix
[INFO] finished tweaking git repo https://github.com/surma/containix
[INFO] tweaked toml for git repo https://github.com/surma/containix written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/surma/containix on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/surma/containix already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 95cbabb8c5a8d6043ac7dacf634c6944a21781f5186d7ff02a353d9020a03e4e
[INFO] running `Command { std: "docker" "start" "95cbabb8c5a8d6043ac7dacf634c6944a21781f5186d7ff02a353d9020a03e4e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "95cbabb8c5a8d6043ac7dacf634c6944a21781f5186d7ff02a353d9020a03e4e" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "95cbabb8c5a8d6043ac7dacf634c6944a21781f5186d7ff02a353d9020a03e4e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "95cbabb8c5a8d6043ac7dacf634c6944a21781f5186d7ff02a353d9020a03e4e" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]     Checking regex-syntax v0.8.4
[INFO] [stderr]    Compiling unicode-segmentation v1.11.0
[INFO] [stderr]     Checking colorchoice v1.0.2
[INFO] [stderr]     Checking anstyle-parse v0.2.5
[INFO] [stderr]     Checking anstyle v1.0.8
[INFO] [stderr]    Compiling serde v1.0.209
[INFO] [stderr]     Checking anstyle-query v1.1.1
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]     Checking log v0.4.22
[INFO] [stderr]     Checking clap_lex v0.7.2
[INFO] [stderr]    Compiling syn v2.0.74
[INFO] [stderr]    Compiling serde_json v1.0.127
[INFO] [stderr]     Checking thread_local v1.1.8
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]     Checking url v2.5.2
[INFO] [stderr]     Checking anstream v0.6.15
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking clap_builder v4.5.15
[INFO] [stderr]    Compiling convert_case v0.6.0
[INFO] [stderr]     Checking regex-automata v0.4.7
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking uuid v1.10.0
[INFO] [stderr]     Checking tempdir v0.3.7
[INFO] [stderr]     Checking regex v1.10.6
[INFO] [stderr]    Compiling darling_core v0.20.10
[INFO] [stderr]    Compiling serde_derive v1.0.209
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]    Compiling typed-builder-macro v0.20.0
[INFO] [stderr]    Compiling clap_derive v4.5.13
[INFO] [stderr]    Compiling derive_more-impl v1.0.0
[INFO] [stderr]    Compiling enum-as-inner v0.6.0
[INFO] [stderr]     Checking typed-builder v0.20.0
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking thiserror v1.0.63
[INFO] [stderr]     Checking tracing-subscriber v0.3.18
[INFO] [stderr]     Checking clap v4.5.16
[INFO] [stderr]    Compiling darling_macro v0.20.10
[INFO] [stderr]    Compiling darling v0.20.10
[INFO] [stderr]    Compiling derive_builder_core v0.20.1
[INFO] [stderr]    Compiling derive_builder_macro v0.20.1
[INFO] [stderr]     Checking derive_builder v0.20.1
[INFO] [stderr]     Checking derive_more v1.0.0
[INFO] [stderr]     Checking containix v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> src/command.rs:27:126
[INFO] [stdout]    |
[INFO] [stdout] 26 | /  #[instrument(level = "trace", fields(
[INFO] [stdout] 27 | |      current_dir = %command.get_current_dir().map(|v| v.to_path_buf()).or_else(|| std::env::current_dir().ok()).unwrap_or_else(|| ...
[INFO] [stdout]    | | ______________________________________________________________________________________________________________________________^
[INFO] [stdout] 28 | || ), ret)]
[INFO] [stdout]    | ||________- borrow later used here
[INFO] [stdout] 29 |  | pub fn run_command(command: Command) -> Result<Output> {
[INFO] [stdout]    |  |__________________________^ this temporary value will be dropped at the end of the block
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]    = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]        Fixed src/container.rs (2 fixes)
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> src/nix_helpers.rs:76:69
[INFO] [stdout]    |
[INFO] [stdout] 76 |       #[instrument(level = "trace", skip_all, fields(path = %self.path().display()))]
[INFO] [stdout]    |  _____----------------------------------------------------------------^--------------
[INFO] [stdout]    | |     |
[INFO] [stdout]    | |     borrow later used here
[INFO] [stdout] 77 | |     pub fn closure(&self) -> Result<HashSet<NixStoreItem>> {
[INFO] [stdout]    | |________________________^ this temporary value will be dropped at the end of the block
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]        Fixed src/cli_wrappers/slirp.rs (1 fix)
[INFO] [stdout] warning: `impl ChildProcess` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]    --> src/unshare.rs:172:71
[INFO] [stdout]     |
[INFO] [stdout] 172 |     pub fn execute(&mut self, mut f: impl FnMut() -> isize) -> Result<impl ChildProcess> {
[INFO] [stdout]     |                                                                       ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds
[INFO] [stdout]    --> src/unshare.rs:172:20
[INFO] [stdout]     |
[INFO] [stdout] 172 |     pub fn execute(&mut self, mut f: impl FnMut() -> isize) -> Result<impl ChildProcess> {
[INFO] [stdout]     |                    ^
[INFO] [stdout]     = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/unshare.rs:172:38
[INFO] [stdout]     |
[INFO] [stdout] 172 |     pub fn execute(&mut self, mut f: impl FnMut() -> isize) -> Result<impl ChildProcess> {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout]     = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 171 ~     <T: FnMut() -> isize>
[INFO] [stdout] 172 ~     pub fn execute(&mut self, mut f: T) -> Result<impl ChildProcess + use<T>> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> src/command.rs:27:126
[INFO] [stdout]    |
[INFO] [stdout] 26 | /  #[instrument(level = "trace", fields(
[INFO] [stdout] 27 | |      current_dir = %command.get_current_dir().map(|v| v.to_path_buf()).or_else(|| std::env::current_dir().ok()).unwrap_or_else(|| ...
[INFO] [stdout]    | | ______________________________________________________________________________________________________________________________^
[INFO] [stdout] 28 | || ), ret)]
[INFO] [stdout]    | ||________- borrow later used here
[INFO] [stdout] 29 |  | pub fn run_command(command: Command) -> Result<Output> {
[INFO] [stdout]    |  |__________________________^ this temporary value will be dropped at the end of the block
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]    = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> src/nix_helpers.rs:76:69
[INFO] [stdout]    |
[INFO] [stdout] 76 |       #[instrument(level = "trace", skip_all, fields(path = %self.path().display()))]
[INFO] [stdout]    |  _____----------------------------------------------------------------^--------------
[INFO] [stdout]    | |     |
[INFO] [stdout]    | |     borrow later used here
[INFO] [stdout] 77 | |     pub fn closure(&self) -> Result<HashSet<NixStoreItem>> {
[INFO] [stdout]    | |________________________^ this temporary value will be dropped at the end of the block
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `impl ChildProcess` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]    --> src/unshare.rs:172:71
[INFO] [stdout]     |
[INFO] [stdout] 172 |     pub fn execute(&mut self, mut f: impl FnMut() -> isize) -> Result<impl ChildProcess> {
[INFO] [stdout]     |                                                                       ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds
[INFO] [stdout]    --> src/unshare.rs:172:20
[INFO] [stdout]     |
[INFO] [stdout] 172 |     pub fn execute(&mut self, mut f: impl FnMut() -> isize) -> Result<impl ChildProcess> {
[INFO] [stdout]     |                    ^
[INFO] [stdout]     = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/unshare.rs:172:38
[INFO] [stdout]     |
[INFO] [stdout] 172 |     pub fn execute(&mut self, mut f: impl FnMut() -> isize) -> Result<impl ChildProcess> {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout]     = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 171 ~     <T: FnMut() -> isize>
[INFO] [stdout] 172 ~     pub fn execute(&mut self, mut f: T) -> Result<impl ChildProcess + use<T>> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating examples/unshare-timing.rs from 2021 edition to 2024
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.62s
[INFO] [stderr] crater-edition-check: containix v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking containix v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0515]: cannot return value referencing local variable `unshare_builder`
[INFO] [stdout]    --> src/container.rs:235:16
[INFO] [stdout]     |
[INFO] [stdout] 205 |           let handle = unshare_builder
[INFO] [stdout]     |                        --------------- `unshare_builder` is borrowed here
[INFO] [stdout] ...
[INFO] [stdout] 235 |           return Ok(ContainerGuard {
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 236 | |             slirp,
[INFO] [stdout] 237 | |             handle,
[INFO] [stdout] 238 | |             root: opts.root,
[INFO] [stdout] 239 | |         });
[INFO] [stdout]     | |__________^ returns a value referencing data owned by the current function
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/container.rs:205:22
[INFO] [stdout]     |
[INFO] [stdout] 205 |           let handle = unshare_builder
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 206 | |             .execute(move || {
[INFO] [stdout] 207 | |                 let mut cmd = Command::new(&opts.command);
[INFO] [stdout] 208 | |                 cmd.args(&opts.args).env_clear().envs(
[INFO] [stdout] ...   |
[INFO] [stdout] 215 | |                 -100
[INFO] [stdout] 216 | |             })
[INFO] [stdout]     | |______________^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/unshare.rs:172:38
[INFO] [stdout]     |
[INFO] [stdout] 172 |     pub fn execute(&mut self, mut f: impl FnMut() -> isize) -> Result<impl ChildProcess> {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]    --> src/unshare.rs:171:5
[INFO] [stdout]     |
[INFO] [stdout] 171 ~     <T: FnMut() -> isize>
[INFO] [stdout] 172 ~     pub fn execute(&mut self, mut f: T) -> Result<impl ChildProcess + use<T>> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing local variable `unshare_builder`
[INFO] [stdout]    --> src/container.rs:235:16
[INFO] [stdout]     |
[INFO] [stdout] 205 |           let handle = unshare_builder
[INFO] [stdout]     |                        --------------- `unshare_builder` is borrowed here
[INFO] [stdout] ...
[INFO] [stdout] 235 |           return Ok(ContainerGuard {
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 236 | |             slirp,
[INFO] [stdout] 237 | |             handle,
[INFO] [stdout] 238 | |             root: opts.root,
[INFO] [stdout] 239 | |         });
[INFO] [stdout]     | |__________^ returns a value referencing data owned by the current function
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/container.rs:205:22
[INFO] [stdout]     |
[INFO] [stdout] 205 |           let handle = unshare_builder
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 206 | |             .execute(move || {
[INFO] [stdout] 207 | |                 let mut cmd = Command::new(&opts.command);
[INFO] [stdout] 208 | |                 cmd.args(&opts.args).env_clear().envs(
[INFO] [stdout] ...   |
[INFO] [stdout] 215 | |                 -100
[INFO] [stdout] 216 | |             })
[INFO] [stdout]     | |______________^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/unshare.rs:172:38
[INFO] [stdout]     |
[INFO] [stdout] 172 |     pub fn execute(&mut self, mut f: impl FnMut() -> isize) -> Result<impl ChildProcess> {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]    --> src/unshare.rs:171:5
[INFO] [stdout]     |
[INFO] [stdout] 171 ~     <T: FnMut() -> isize>
[INFO] [stdout] 172 ~     pub fn execute(&mut self, mut f: T) -> Result<impl ChildProcess + use<T>> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0515`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `containix` (lib) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0515`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `containix` (lib test) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "95cbabb8c5a8d6043ac7dacf634c6944a21781f5186d7ff02a353d9020a03e4e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "95cbabb8c5a8d6043ac7dacf634c6944a21781f5186d7ff02a353d9020a03e4e", kill_on_drop: false }`
[INFO] [stdout] 95cbabb8c5a8d6043ac7dacf634c6944a21781f5186d7ff02a353d9020a03e4e
